home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net (French) 1996 December
/
.net Magazine (FR) - Issue 02 - Dec 1996.iso
/
Utilpers
/
SUPERQUE
/
DATA.2
/
FILTERS
/
PSINIT
/
GS_TYPE0.PS
< prev
next >
Wrap
Text File
|
1995-11-15
|
1KB
|
33 lines
% Copyright (C) 1992, 1994 Aladdin Enterprises. All rights reserved.
% Licensed to Zenographics Inc. (Irvine, California) by Artifex Software Inc.
% under the OEM Agreement of December 21st, 1993.
% Initialization file for composite font facilities.
% When this is run, systemdict is still writable.
% Define findencoding.
% (cshow, rootfont, and setcachedevice2 are real operators.)
% .encodingdict is defined and initialized in gs_init.ps.
% .findencoding is defined in gs_init.ps.
/findencoding { .findencoding } odef
% Redefine the setcachedevice step of Type1BuildChar
% so that it takes Metrics2 and CDevProc into account.
/setcache_C % <charname> <wx> <wy> <llx> <lly> <urx> <ury>
% setcache_C -
{ currentdict /Metrics2 .knownget
{ 7 index .knownget
{ aload pop }
{ 5 index 5 index 0 0 }
ifelse
}
{ 5 index 5 index 0 0
}
ifelse
currentdict /CDevProc .knownget
{ 12 -1 roll exch exec }
{ 11 -1 roll pop }
ifelse
setcachedevice2
} bind def